package com.xinghai.system.service;

import java.util.List;
import com.xinghai.system.domain.XhVehicleOrderFee;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xinghai.system.domain.dto.LoadFeeDetailDTO;
import com.xinghai.system.domain.vo.XhStaticsReportQueryVo;

/**
 * 订单费用Service接口
 * 
 * @author smy
 * @date 2024-08-02
 */

public interface IXhVehicleOrderFeeService extends IService<XhVehicleOrderFee>
{
    /**
     * 查询订单费用
     * 
     * @param id 订单费用主键
     * @return 订单费用
     */
    public XhVehicleOrderFee getInfo(Long id);

    /**
     * 查询订单费用列表
     * 
     * @param xhVehicleOrderFee 订单费用
     * @return 订单费用集合
     */
    public List<XhVehicleOrderFee> list(XhVehicleOrderFee xhVehicleOrderFee);

    /**
     * 新增订单费用
     * 
     * @param xhVehicleOrderFee 订单费用
     * @return 结果
     */
    public int insert(XhVehicleOrderFee xhVehicleOrderFee);

    /**
     * 批量新增订单费用
     *
     * @param xhVehicleOrderFeeList 订单费用信息集合
     * @return 结果
     */
    public int insertBatch(List<XhVehicleOrderFee> xhVehicleOrderFeeList);

    /**
     * 修改订单费用
     * 
     * @param xhVehicleOrderFee 订单费用
     * @return 结果
     */
    public int update(XhVehicleOrderFee xhVehicleOrderFee);

    /**
     * 批量删除订单费用
     * 
     * @param ids 需要删除的订单费用主键集合
     * @return 结果
     */
    public int deleteBatch(Long[] ids);

    /**
     * 删除订单费用信息
     * 
     * @param id 订单费用主键
     * @return 结果
     */
    public int delete(Long id);

    /**
     * 导入订单费用信息
     *
     * @param xhVehicleOrderFeeList 订单费用信息集合
     * @return 结果
     */
    public boolean importData(List<XhVehicleOrderFee> xhVehicleOrderFee);

    /**
     * 压车费模板报表查询
     *
     * @param xhStaticsReportQueryVo 报表查询
     * @return 结果
     */
    List<LoadFeeDetailDTO> loadFeeDetailPage(XhStaticsReportQueryVo xhStaticsReportQueryVo);
}
